﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UMLSynthesizer.Tasks.DiagramElements.Objects;

namespace UMLSynthesizer.Tasks.DiagramElements.Links
{
    public abstract class DiagramLinkBase : DiagramElementBase
    {
        #region Public interface

        public DiagramLinkBase(ElementKinds kind, DiagramObjectBase firstObject, DiagramObjectBase secondObject)
            :base (kind)
        {
            this.FirstObject = firstObject;
            this.SecondObject = secondObject;
        }

        #endregion

        #region Properties

        public DiagramObjectBase FirstObject { get; set; }
        public DiagramObjectBase SecondObject { get; set; }

        #endregion
    }
}
